package com.cams.backend.service;

import com.cams.backend.common.lang.Result;
import com.cams.backend.entity.QueryDate;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cams.backend.entity.Record;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cams
 * @since 2022-05-15
 */
public interface RecordService extends IService<Record> {

    Result onDuty(Record record);

    Result offDuty(Record record);

    Result findByUid(int uid);

    Result findByRtime(QueryDate queryDate);

    Result getOverTime(int uid, String rtype);
}
